import React, { useState, useEffect } from "react";
import {Link, useNavigate} from "react-router-dom"
import "./credits.css"
import {AutoCenter, Empty, ErrorBlock, Form, NavBar, Result, Toast} from "antd-mobile";
import {AiOutlineRight} from "react-icons/ai";

const Finish = () => {
  const navigate = useNavigate()
  const back = () =>{
    navigate("/login")
  }

  return (
      <section className="credits">
        <NavBar style={{'backgroundColor': 'rgba(80, 62, 157, 1)', 'color': 'white'}} onBack={back}></NavBar>


        <AutoCenter >
            <Result style={{"background":"none"}}
                    status='success'
                    title='操作成功'
                    description='您的密码已重置，请重新回到首页登录'

            />
        </AutoCenter>



      </section>
  )
}

export default Finish
